
package com.sforce.soap.enterprise.sobject;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>FlexQueueItem complex typeのJavaクラス。
 * 
 * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
 * 
 * <pre>
 * &lt;complexType name="FlexQueueItem">
 *   &lt;complexContent>
 *     &lt;extension base="{urn:sobject.enterprise.soap.sforce.com}sObject">
 *       &lt;sequence>
 *         &lt;element name="AsyncApexJob" type="{urn:sobject.enterprise.soap.sforce.com}AsyncApexJob" minOccurs="0"/>
 *         &lt;element name="AsyncApexJobId" type="{urn:enterprise.soap.sforce.com}ID" minOccurs="0"/>
 *         &lt;element name="FlexQueueItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="JobPosition" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="JobType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FlexQueueItem", propOrder = {
    "asyncApexJob",
    "asyncApexJobId",
    "flexQueueItemId",
    "jobPosition",
    "jobType"
})
public class FlexQueueItem
    extends SObject
{

    @XmlElementRef(name = "AsyncApexJob", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<AsyncApexJob> asyncApexJob;
    @XmlElementRef(name = "AsyncApexJobId", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> asyncApexJobId;
    @XmlElementRef(name = "FlexQueueItemId", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> flexQueueItemId;
    @XmlElementRef(name = "JobPosition", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<Integer> jobPosition;
    @XmlElementRef(name = "JobType", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> jobType;

    /**
     * asyncApexJobプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link AsyncApexJob }{@code >}
     *     
     */
    public JAXBElement<AsyncApexJob> getAsyncApexJob() {
        return asyncApexJob;
    }

    /**
     * asyncApexJobプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link AsyncApexJob }{@code >}
     *     
     */
    public void setAsyncApexJob(JAXBElement<AsyncApexJob> value) {
        this.asyncApexJob = value;
    }

    /**
     * asyncApexJobIdプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getAsyncApexJobId() {
        return asyncApexJobId;
    }

    /**
     * asyncApexJobIdプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setAsyncApexJobId(JAXBElement<String> value) {
        this.asyncApexJobId = value;
    }

    /**
     * flexQueueItemIdプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getFlexQueueItemId() {
        return flexQueueItemId;
    }

    /**
     * flexQueueItemIdプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setFlexQueueItemId(JAXBElement<String> value) {
        this.flexQueueItemId = value;
    }

    /**
     * jobPositionプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Integer }{@code >}
     *     
     */
    public JAXBElement<Integer> getJobPosition() {
        return jobPosition;
    }

    /**
     * jobPositionプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Integer }{@code >}
     *     
     */
    public void setJobPosition(JAXBElement<Integer> value) {
        this.jobPosition = value;
    }

    /**
     * jobTypeプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getJobType() {
        return jobType;
    }

    /**
     * jobTypeプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setJobType(JAXBElement<String> value) {
        this.jobType = value;
    }

}
